package com.yunduo.common.RetunData.statuscode.impl;

import com.yunduo.common.RetunData.statuscode.ResultStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 请求返回结果状态类
 */
@AllArgsConstructor
@Getter
public enum  ResultCode implements ResultStatus {

    SUCCESS(200,"成功"),
    ERROR(400,"失败"),
    REQUEST_UNDEFINE(400,"非法请求"),
    UNDEFINE(505,"服务器繁忙"),;

    private Integer code;

    private String info;
}
